package com.ruoyi.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理礼包商品关联对象 bdm_agent_gift_package
 * 
 * @author ruoyi
 * @date 2025-04-09
 */
@Data
public class BdmAgentGiftPackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表主键 */
    private Long id;

    /** 代理商品id */
    @Excel(name = "代理商品id")
    private Long goodId;
    private String goodName;

    /** 单品商品id */
    @Excel(name = "单品商品id")
    private Long oneGoodId;

    /** 单品商品名称 */
    @Excel(name = "单品商品名称")
    private String oneGoodName;

    /** 单品数量 */
    @Excel(name = "单品数量")
    private Long oneGoodNumber;

    /** 1启用 2禁用 */
    @Excel(name = "1启用 2禁用")
    private Long status;
    private String name;
    private String goodImg;
    private String oneGoodImg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGoodId(Long goodId) 
    {
        this.goodId = goodId;
    }

    public Long getGoodId() 
    {
        return goodId;
    }
    public void setOneGoodId(Long oneGoodId) 
    {
        this.oneGoodId = oneGoodId;
    }

    public Long getOneGoodId() 
    {
        return oneGoodId;
    }
    public void setOneGoodName(String oneGoodName) 
    {
        this.oneGoodName = oneGoodName;
    }

    public String getOneGoodName() 
    {
        return oneGoodName;
    }
    public void setOneGoodNumber(Long oneGoodNumber) 
    {
        this.oneGoodNumber = oneGoodNumber;
    }

    public Long getOneGoodNumber() 
    {
        return oneGoodNumber;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodId", getGoodId())
            .append("oneGoodId", getOneGoodId())
            .append("oneGoodName", getOneGoodName())
            .append("oneGoodNumber", getOneGoodNumber())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
